package com.framework.spring.lifeCycle.lc.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
@Slf4j(topic = "e")
public class NotVeryUsefulAspect {

	@Pointcut("within(com.framework.spring.lifeCycle.lc.bean.A)")
	private void pointcut() {

	}

	@Before("pointcut()")
	public void before() {
		log.info("aop before");
	}
}
